package com.fary.strategy;

import com.fary.entity.PaymentChannel;
import com.fary.entity.PaymentInfo;

public interface PayStrategy {
    String toPay(PaymentInfo payTokenPaymentInfo, PaymentChannel paymentChannel);

    /**
     * 同步支付的状态
     * 根据支付id或者订单号码
     */
    boolean payIdByPayResult(PaymentInfo paymentInfo);
}
